<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="../includes/head.jsp" %>
</head>
<body>
<%@include file="../includes/topo_index.jsp" %>

	
	<div id="descr_right"><img src="static/imagens/acess_icon.png" /> 
		Acesso Restrito
	</div>
	
	<div id="formulario">
		<form action="login" method="post" class="ui-widget ui-widget-content ui-corner-all" style="padding: 10px 50px;">
			<p>
				<label style="width: 100px; display: block; float: left; line-height: 37px; vertical-align: bottom;">
					Usu&aacute;rio:
				</label>
				<input type="text" name="credencial.login" size="30" /></p>
			<p>
				<label style="width: 100px; display: block; float: left; line-height: 37px; vertical-align: bottom;">
					Senha:
				</label>
				<input type="password" name="credencial.plainPassword" size="30" />
			</p>
			<p>
				<a href="esqueciMinhaSenha" style="float: right;">Esqueci minha senha</a>
				<input type="submit" value="Entrar">
			</p>
		</form>
	<div>
	<br/>
	<div id="errors">
		<c:forEach items="${errors}" var="error">
			<label>${error.message}</label>
		</c:forEach>
	</div>
<%@include file="../includes/rodape.jsp" %>	
</body>
</html>